package com.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pojo.Archive;

public interface ArchiveDao {
   public void addDA(
		   @Param("archive_id")String archive_id,
		   @Param("identity")String identity,
		   @Param("name")String name,
		   @Param("gender")String gender,
		   @Param("birthday")String birthday,
		   @Param("date_retire1")String date_retire1,
		   @Param("date_retire2")String date_retire2,
		   @Param("sp")String sp,
		   @Param("fc")String fc,
		   @Param("title")String title,
		   @Param("seniority")String seniority
		   );
   public List<Archive> chaxun(@Param("shuru")String shuru);
   
   public Archive one (@Param("id") String id);
   
   public void update(
		  @Param("id") String id,
		   @Param("archive_id")String archive_id,
		   @Param("identity")String identity,
		   @Param("name")String name,
		   @Param("gender")String gender,
		   @Param("birthday")String birthday,
		   @Param("date_retire1")String date_retire1,
		   @Param("date_retire2")String date_retire2,
		   @Param("sp")String sp,
		   @Param("fc")String fc,
		   @Param("title")String title,
		   @Param("seniority")String seniority
		   );
public Map<String, Object> info(String id);

public void file(@Param("archive_id")String archive_id, 
		         @Param("name")String name  );
public Map<String, Object> lastId();
}
